<?php         
$this->title = $this->escape($this->anime->title);
$this->headTitle($this->title);

$type_ar = array ('Other', 'TV', 'OVA', 'Movie', 'Special', 'ONA', 'Music' );
$type_id = array (0, 1, 2, 3, 4, 5, 6 );
$this->anime->type = str_replace ( $type_id, $type_ar, $this->anime->type );

$status_ar = array ('Finished Airing', 'Currently Airing', 'Not yet aired' );
$status_id = array (1, 2, 3 );
$this->anime->status = str_replace ( $status_id, $status_ar, $this->anime->status );

$rate_ar = array ('None', 'G - All Ages', 'PG - Children', 'PG-13 - Teens 13 or older', 'R - 17+ (violence & profanity)', 'R+ - Mild Nudity', 'Rx - Hentai' );
$rate_id = array (0, 1, 2, 3, 4, 5, 6 );
$this->anime->rating = str_replace ( $rate_id, $rate_ar, $this->anime->rating );

//print_r($this->genres);
?>

<div id="intro_blurb">
	<div class="inner">
		<div id="blurb"><?php echo $this->anime->title;?></div>
	</div><!-- inner -->						
</div><!-- intro_blurb -->



	<span class="frame alignright">
	<img src="<?php echo $this->baseUrl()."/public/pictures/".$this->anime->picture;?>" alt="<?php echo $this->escape($this->anime->title);?>">
	</span>
	<p>
		<h5>Summary</h5>
		<?php echo $this->anime->summary;?>
	<p>
		<h5>Alternative Titles</h5>
		<b>Japanese: </b><?php echo $this->anime->jap_title;?><br/>
		<b>English: </b><?php echo $this->anime->eng_title;?><br/>
		<b>Synonyms: </b><?php echo $this->anime->other_titles;?>
	<p>
	<p>
		<h5>Information</h5>
		<b>Type: </b><?php echo $this->anime->type;?><br/>
		<b>Status: </b><?php echo $this->anime->status;?><br/>
		<b>Episodes: </b><?php echo $this->anime->episodes;?><br/>
		<b>Aired: </b><?php echo $this->anime->aired_date;?><br/>
		<b>Genres: </b><?php 
					   	  for ($i=0;$i<count($this->genres)-1;$i++){
					   	  	echo $this->escape($this->genres[$i]['genre_name']).", ";
					   	  }
					   	  echo $this->genres[count($this->genres)-1]['genre_name'];
					   ?><br/>
		<b>Producers: </b><?php 
					     	  for ($i=0;$i<count($this->producers)-1;$i++){
					   	    	echo $this->escape($this->producers[$i]['prod_name']).", ";
					   	      }
					   	      echo $this->producers[count($this->producers)-1]['prod_name'];
					     ?><br/>
		<b>Rating: </b><?php echo $this->anime->rating;?>
	<p>

